package com.sunnada.btfvilg.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("deliveryman")
@ApiModel(value="快递员表", description="")
public class Deliveryman implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "did")
    private String did;

    @ApiModelProperty(value = "所属网点id")
    @TableField(value = "sid")
    private String sid;

    @ApiModelProperty(value = "快递员姓名")
    @TableField("dname")
    private String dname;

    @ApiModelProperty(value = "密码")
    @TableField("dpassword")
    private String dpassword;

    @ApiModelProperty(value = "手机号")
    @TableField("dphone")
    private String dphone;

    @ApiModelProperty(value = "快递员状态")
    @TableField("dstate")
    private String dstate;

}
